package com.tomatosystem.baby;
import java.io.Serializable;
import java.sql.Date;

/*
 	"SEQ"        NUMBER NOT NULL,
    "WRITER"     VARCHAR2(50) NOT NULL,
    "TITLE"      VARCHAR2(200) NOT NULL,
    "CONTS"      VARCHAR2(4000) NOT NULL,
    "REGDATE"    DATE NOT NULL,
    constraint  "EOBOARD_PK" primary key ("SEQ")
 */

public class EoBoardDto implements Serializable {
	private static final long serialVersionUID = 2751685783995175936L;
	private int seq;
	private String writer;
	private String title;
	private String conts;
	private Date regdate;
	
	public EoBoardDto() {
		
	}
	
	public EoBoardDto(int seq, String writer, String title, String conts,
			Date regdate) {
		super();
		this.seq = seq;
		this.writer = writer;
		this.title = title;
		this.conts = conts;
		this.regdate = regdate;
	}

	public EoBoardDto(int seq, String writer, String title, String conts){
		super();
		this.seq = seq;
		this.writer = writer;
		this.title = title;
		this.conts = conts;
		this.regdate = regdate;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public String getWriter() {
		return writer;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getConts() {
		return conts;
	}

	public void setConts(String conts) {
		this.conts = conts;
	}

	public Date getRegdate() {
		return regdate;
	}

	public void setRegdate(Date regdate) {
		this.regdate = regdate;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "EoBoardDto [seq=" + seq + ", writer=" + writer + ", title="
				+ title + ", conts=" + conts + ", regdate=" + regdate + "]";
	}
	
	
	
}
